package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 nav
 * 
 * @author ruoyi
 * @date 2024-11-20
 */
public class Nav extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 父级ID */
    @Excel(name = "父级ID")
    private Long pid;

    /** ID */
    private Long id;

    /** 中文名 */
    @Excel(name = "中文名")
    private String nameCn;

    /** 俄文 */
    @Excel(name = "俄文")
    private String nameRa;

    /** 路由 */
    @Excel(name = "路由")
    private String router;

    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNameCn(String nameCn) 
    {
        this.nameCn = nameCn;
    }

    public String getNameCn() 
    {
        return nameCn;
    }
    public void setNameRa(String nameRa) 
    {
        this.nameRa = nameRa;
    }

    public String getNameRa() 
    {
        return nameRa;
    }
    public void setRouter(String router) 
    {
        this.router = router;
    }

    public String getRouter() 
    {
        return router;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pid", getPid())
            .append("id", getId())
            .append("nameCn", getNameCn())
            .append("nameRa", getNameRa())
            .append("router", getRouter())
            .toString();
    }
}
